// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CategoryInfo.cs" company="Collaboris Ltd.">
//   Copyright (c) Collaboris Ltd. All rights Reserved.
// </copyright>
// <summary>
//   Defines the CategoryInfo type.
//   Note: This is based on the SSPC (codeplex).
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Collaboris.Saf.Actions.Moss.Entities
{
    using System;
    using System.Xml.Serialization;

    using Microsoft.Office.Server.Search.Administration;

    using SharePoint.Wss.Entities;

    using Spring.Objects;
    using System.Collections.Generic;

    /// <summary>
    /// Used to contain a CategoryInformation.
    /// </summary>
    [Serializable]
    public class CategoryInfo : WSSEntityBase
    {
        private string name;
        private List<CrawledPropertyInfo> crawledProperties = new List<CrawledPropertyInfo>();

        [XmlAttribute]
        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public List<CrawledPropertyInfo> CrawledProperties
        {
            get { return crawledProperties; }
            set { crawledProperties = value; }
        }
    }
}